RunExtensions.GetIntersectingRunsReverse<T> Method
Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit.Utils
Declaring Type: RunExtensions
Given a list of consecutive runs, a start index and a length provides a list of sub-runs in the list of runs (in reverse order)
[Runtime.CompilerServices.IteratorStateMachine(Topten.RichTextKit.Utils.RunExtensions+<GetIntersectingRunsReverse>d__1`1[T])]
public static IEnumerable<SubRun> GetIntersectingRunsReverse<T>(this IReadOnlyList<T> list, int offset, int length);
Type Parameters
T | The list element type |
Parameters
this IReadOnlyList<T> list | The list of runs |
int offset | The offset of the run |
int length | The length of the run |
Returns
IEnumerable<SubRun> | An enumerable collection of SubRuns |